PGetMasterPageInfo(const char * sMasterName);
const char * sMasterName;
The master page name (maximum of 31 characters).
PMBool bSpread;
false for one page master
true for two-page master spread
long xLeftOrInside;
Inside (or left) margin in twips
long yTop;
Top margin in twips
long xRghtOrOutsd;
Outside (or right) margin in twips
long yBottom;
Bottom margin in twips
short nColumns;
Number of columns either on single page (if master page is single page) or on left page (if master page is two-page spread)
long xGutter;
Space between columns on single page or on left page of two-page spread in twips
short nColmnRghtPge;
Number of columns on right page of two-page spread
0 if master is single page
long xGutterRghtPg;
Space between columns on right page of two-page spread in twipsDocument Master. To get information about the Document Master, do not include the brackets that enclose the name in the menu. For example:
0 if master is single page
PGetMasterPageInfo mpInfo("Document Master");
The PDefineMasterPage, PDeleteMasterPage, PMasterPage, PRenameMasterPage, and PSaveAsMasterPage commands
Comments or suggestions? Contact Adobe Developer Support